
<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="renderer" content="webkit">
    <meta http-equiv="Cache-Control" content="no-siteapp"/>
    <title>会员管理</title>

    <!--[if lt IE 9]>
    <meta http-equiv="refresh" content="0;ie.html"/><![endif]-->
    <link rel="shortcut icon" href="favicon.ico">
    <link href="/lender/css/bootstrap.min.css" rel="stylesheet">
    <link href="/lender/css/font-awesome.css" rel="stylesheet">
    <link href="/lender/css/style.min.css" rel="stylesheet">
</head>

<body class="fixed-sidebar full-height-layout gray-bg" style="overflow:hidden;background-color: #fff">
<div id="wrapper">
    <!--左侧导航开始-->
    <nav class="navbar-default navbar-static-side" role="navigation">
        <div class="nav-close"><i class="fa fa-times-circle"></i>
        	<input id="users" type="hidden" value="$!map.users" />
        </div>
        <div class="sidebar-collapse">
            <ul class="nav" id="side-menu">
                <li class="nav-header">
                    <div class="dropdown profile-element">
                        <span><img alt="image" class="img-circle" src="http://orheaidcn.bkt.clouddn.com/profile_small.jpg"/></span>
                        <a data-toggle="dropdown" class="dropdown-toggle" href="#">
                                <span class="clear">
                               <span class="block m-t-xs"><strong class="font-bold">Beaut-zihan</strong></span>
                                <span class="text-muted text-xs block">超级管理员<b class="caret"></b></span>
                                </span>
                        </a>
                        <ul class="dropdown-menu animated fadeInRight m-t-xs">
                            <li>
                                <a class="J_menuItem" href="form_avatar.html">修改头像</a>
                            </li>
                            <li>
                                <a class="J_menuItem" href="profile.html">个人资料</a>
                            </li>
                            <li>
                                <a class="J_menuItem" href="contacts.html">联系我们</a>
                            </li>
                            <li>
                                <a class="J_menuItem" href="mailbox.html">信箱</a>
                            </li>
                            <li class="divider"></li>
                            <li>
                                <a href="javascript:void(0);" id="safeExit">安全退出</a>
                            </li>
                        </ul>
                    </div>
                    <div class="logo-element">H+
                    </div>
                </li>
                <li id="menu_id">
                    <a href="#">
                        <i class="fa fa-home"></i> <span class="nav-label">主页</span> <span class="fa arrow"></span>
                    </a>
                    <ul class="nav nav-second-level">
                    	<li id="user_menu" >
                            <a class="J_menuItem" href="$!map.linkUrl">用户管理</a>
                        </li>
                        <li>
                            <a class="J_menuItem"  href="/lender/login/vipRegulation.html" data-index="0">会员管理</a>
                        </li>
                        <!--  <li>
                            <a class="J_menuItem" href="index_v3.html">主页示例三</a>
                        </li>
                        <li>
                            <a class="J_menuItem" href="index_v4.html">主页示例四</a>
                        </li>
                        <li>
                            <a href="index_v5.html" target="_blank">$id</a>
                        </li> -->
                    </ul>
                </li>
            </ul>
        </div>
    </nav>
    <!--左侧导航结束-->
    <!--右侧部分开始-->
    <div id="page-wrapper" class="gray-bg dashbard-1">
       
        <div class="row content-tabs">
            <button class="roll-nav roll-left J_tabLeft"><i class="fa fa-backward"></i>
            </button>
            <nav class="page-tabs J_menuTabs" id="page_a">
                <div class="page-tabs-content">
                    <a href="javascript:;"  class="active J_menuTab" data-id="/lender/login/welcomeToGM.html">首页</a>
                </div>
            </nav>
            
            <a href="javascript:void(0);" id="go_back" class="roll-nav roll-right J_tabExit"><i class="fa fa fa-sign-out"></i> 退出</a>
        </div>
        <div class="row J_mainContent" id="content-main">
            <iframe id="J_iframe" class="J_iframe" name="iframe0" width="100%" height="100%" src="/lender/login/welcomeToGM.html" frameborder="0"data-id="/lender/login/welcomeToGM.html" seamless></iframe>
        </div>
        
    
    </div>
    <!--右侧部分结束-->
  
</div>
<script src="/lender/js/jquery.min.js"></script>
<script src="/lender/js/bootstrap.min.js"></script>
<script src="/lender/js/jquery.metisMenu.js"></script>
<script src="/lender/js/jquery.slimscroll.min.js"></script>
<script src="/lender/js/layer.min.js"></script>
<script src="/lender/js/hplus.min.js"></script>
<script type="text/javascript" src="/lender/js/contabs.min.js"></script>
<script src="/lender/js/pace.min.js"></script>
</body>
<script src="/lender/layer/layer.js" type="text/javascript"></script>
<script src="/lender/js/public/public.js" type="text/javascript"></script>
<script type="text/javascript">
var size ;
$(function(){
	size = {width:$(window).width(),height:$(window).height()};
	
	$('#content-main').height(size.height - 42)
	var str = $('#users').val();
	if(str=="ok"){
		$('#user_menu').show();
	}else{
		$('#user_menu').hide();
	}
	//安全退出
	$('#safeExit,#go_back').click(function(){
		saleExit();
	});
	
});
function gm(){};
gm.ajax=function(s){
    jQuery.ajax(s);
}

function saleExit(){
	gm.ajax({
		url:'/lender/userController/safeExit.do',
		type:'get',
		dataType:'json',
		success:function(data){
			if(data.code == '000'){
				window.location.href = data.linkUrl+'?n='+Math.random();
			}
		}
	});
}

function reflashJ(btn){
	
	  var iframe2=document.getElementById('J_iframe');
	  iframe2.onload=function(){//父页面调用子页面中的方法
	    iframe2.contentWindow.myrefresh();;
	  };
	
	/* $('#J_iframe').attr('src',"");
	$('#J_iframe').attr('data-id',"");
	
	var url = $(btn).attr('data-id')+"?n="+Math.random();
	$('#J_iframe').attr('src',url);
	$('#J_iframe').attr('data-id',url); */
}

</script>
</html>

